var mongoose = require('mongoose');
var mongoosePaginate = require('mongoose-paginate');



var schema = new mongoose.Schema({
	name:String,
	password:String,
	date: { type: Date, default: Date.now }
})

schema.plugin(mongoosePaginate);

module.exports = mongoose.model('Users',schema,'users');